package com.zwj.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zwj.bo.RoleBo;
import com.zwj.dto.Result;
import com.zwj.entity.SysRoleEntity;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author zwj
 * @since 2021-09-13
 */
public interface SysRoleService extends IService<SysRoleEntity> {

    Result selectRole(RoleBo roleBo);

    Result updateRoleStatus(RoleBo roleBo);

    Result deleteRole(RoleBo roleBo);

    Result addRole(SysRoleEntity sysRoleEntity);

    Result updateRole(SysRoleEntity sysRoleEntity);

    Result updateRoleMenu(RoleBo roleBo);

    Result selectRoleMenu(RoleBo roleBo);

    Result selectUserRole(RoleBo roleBo);

    Result cancelRoleUser(RoleBo roleBo);

    Result getMenu(String userID);

    Result getRoles();
}
